package com.jinxin.platform.cdfaceacs.pojo.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

/**
 * All rights Reserved, Designed By www.beonelot.com
 *
 * @version: V1.0
 * @Copyright: www.beonelot.com Inc. All rights reserved.
 * @Description：
 * @Date: 2020-07-250
 * @Author: Lingnan
 **/
@Data
public class ResultVO {
    // 0：失败；1：成功
    private Integer rstId;
    // 描述
    private String rstDesc;

    private JSONObject object;

    private boolean success;

    private JSONObject validMap;

    public ResultVO() {
    }

    public ResultVO(Integer rstId, String rstDesc, JSONObject object, boolean success, JSONObject validMap) {
        this.rstId = rstId;
        this.rstDesc = rstDesc;
        this.object = object;
        this.success = success;
        this.validMap = validMap;
    }
    @Override
    public String toString() {
        return "ResultVO{" +
                "rstId=" + rstId +
                ", rstDesc='" + rstDesc + '\'' +
                ", object=" + object +
                ", success=" + success +
                ", validMap=" + validMap +
                '}';
    }
}
